package com.coolwen.service;

import com.coolwen.entity.Resource;
import com.coolwen.entity.User;
import com.coolwen.entity.UserRole;

import java.util.List;

/**
 * Created by user on 2016/6/10.
 */
public interface UserRoleService {

    int add(UserRole userRole);

 //   void add(User user,List<Long> resIds);

    int delete(long id);

    int update(UserRole res);

    UserRole load(long id);
}
